﻿#include "PostGraphObjectAgent.h"
#include "PostGraphObjectBase.h"

#include "FITK_Interface/FITKInterfaceCFDPost/FITKAbstractCFDPostData.h"

#include <vtkDataSetMapper.h>
#include <vtkActor.h>

namespace Interface
{
    PostGraphObjectAgent::PostGraphObjectAgent(PostGraphObjectBase* postData) :
        _postData(postData)
    {

    }

    PostGraphObjectAgent::~PostGraphObjectAgent()
    {
        if (_postData) {
            delete _postData;
            _postData = nullptr;
        }
    }
    PostGraphObjectBase * PostGraphObjectAgent::getGraphObject()
    {
        return _postData;
    }
}

